HCL
Skip to main content  
 
   


SPRTechnote


Incorrect formula syntax in view events is accepted as being correct

Technote Number: 1095067


Problem:
This issue was reported to Quality Engineering as SPR# GFLY57ZRY8 , and is
fixed in Notes/Domino Designer 6.5.5 and 7.0.

Excerpt from the Lotus Notes and Lotus Domino Release 6.5.5 MR fix list
(available at http://www.ibm.com/developerworks/lotus):

Designer
SPR# GFLY57ZRY8 - Refreshing in Designer after modifying one or more columns
brings in correct data.

Refer to the Upgrade Central site for details on upgrading Notes/Domino.

Supporting Information:

Steps to Reproduce Problem:

1. Create a view in Domino R5 Designer.
2. In the PostOpen event (or the QueryOpen event) of the view change the Run
value from Script to Formula.
3. Add any formula with multiple lines separated by a semicolon. Here's an
example:

lastview := @GetProfileField("Default Profile";"LastView";"Navigation Tools
Setup");
@SetEnvironment(lastview;@Subset(@ViewTitle;1))

The above formula is syntactically correct.

4. Now remove the semicolon from the end of the first line; this makes the
formula incorrect.
5. Click on the green tick button in an attempt to accept the formula syntax.
6. Note that the formula is confirmed as being correct (notice the formula
text is highlighted to indicate it is correct).
7. You can now save the view even though the formula is incorrect. However,
when saving the view, the new or changed formula is not saved.
8. Open the view again. The event contains the previous formula.

This issue does not occur with form events.
More >





  Document options
Print this document
Print view

  Search
Search Advanced Search


  Fix list views

 RSS feeds   RSS
Subscribe to the fix list

  Resources
Using this database
View notices

  HCL Support
HCL Support


    About HCL Privacy Contact